<title>日报管理</title>

<link rel="stylesheet" href="lib/assets/css/jquery-ui.custom.css" />
<link rel="stylesheet" href="lib/assets/css/chosen.css" />
<link rel="stylesheet" href="lib/assets/css/datepicker.css" />
<link rel="stylesheet" href="lib/assets/css/bootstrap-timepicker.css" />
<link rel="stylesheet" href="lib/assets/css/daterangepicker.css" />
<link rel="stylesheet"
	href="lib/assets/css/bootstrap-datetimepicker.css" />
<link rel="stylesheet" href="lib/assets/css/colorpicker.css" />
<link rel="stylesheet" href="css/align.css" />
</head>

<!-- ajax layout which only needs content area -->
<div class="holyContainer">


	<div class="page-header">
		<h1>
			日报登录 <small> <i class="ace-icon fa fa-angle-double-right"></i>
				日报管理
			</small>
		</h1>

	</div>

	<div class="row">
		<div class="col-xs-10">
			<div class="widget-box">
				<div class="widget-header">
					<h4 class="widget-title">查询条件</h4>

					<span class="widget-toolbar"> <a
						class="btn btn-primary btn-xs drm_search_btn">搜索</a> <a class="btn btn-xs"
						onclick="$('#report-search-form')[0].reset()">重置</a> <!--<a class="btn btn-xs" onclick="alert($('#report-search-form').serialize())">数据</a> -->
						<!-- TODO delete -->
					</span>
				</div>

				<div class="widget-body" style="display: block;">
					<div class="widget-main">
						<form role="search" method="get" id="report-search-form">

							<div class="row">
								<div class="col-xs-12 col-sm-12 col-lg-8 col-lg-push-2">
									<label for="dateRange">日期</label>

									<div class="input-group">
										<span class="input-group-addon"> <i
											class="fa fa-calendar bigger-110"></i>
										</span> <input class="form-control  text-center search_date_range"
											type="text" name="dateRange" id="dateRange"
											data-ng-model="formElements.dateRange"
											readonly/>
									</div>
									<div class="hr hr8"></div>
								</div>

							</div>

							<div class="row">
								<div class="col-xs-12 col-sm-6 col-lg-4 col-lg-push-2">
									<label for="projectSelect">项目</label> 
									<select name="projectSelect" class="form-control search_proj_select">
										<option value="0" selected class="de_proj">所有</option>

									</select>

									<div class="hr hr8"></div>

									<label for="approveState">审核状态</label> 
									<select name="approveState" class="form-control search_state_select">
										<option value="" selected>所有</option>
										<option value="未审核">未审核</option>
										<option value="未通过">未通过</option>
										<option value="已通过">已通过</option>
									</select>

									<div class="hr hr8 visible-xs-block"></div>
								</div>

								<div class="col-xs-12 col-sm-6 col-lg-4 col-lg-push-2">
									<label for="prpSelect">PRP阶段</label> 
									<select name="prpSelect" class="form-control search_prp_select" id="prpSelect">
										<option value="0" selected class="de_prp">所有</option>
									</select>

									<div class="hr hr8"></div>
									<label class="control-label" for="taskInfo">任务</label> 
										<input
											name="taskInfo" type="text" id="taskInfo" value=""
											class="form-control search_task" />
								</div>
								<input class="page_num" type="hidden" value="1" />
							</div>
						</form>

					</div>
				</div>
			</div>

		</div>
	</div>
	
	<div class="alert_container row col-xs-8"></div>
	
	<div class="hr hr-double hr-dotted hr10"></div>

	<div class="drm_search_container"></div>
</div>

<div class="drm_view_container"></div>


<!-- page specific plugin scripts -->
<script type="text/javascript">
	var scripts = [ null, "lib/assets/js/jquery.validate.js",
			"lib/assets/js/jquery-ui.custom.js",
			"lib/assets/js/jquery.ui.touch-punch.js",
			"lib/assets/js/chosen.jquery.js",
			"lib/assets/js/fuelux/fuelux.spinner.js",
			"lib/assets/js/date-time/bootstrap-datepicker.js",
			"lib/assets/js/date-time/bootstrap-timepicker.js",
			"lib/assets/js/date-time/moment.js",
			"lib/assets/js/date-time/daterangepicker.js",
			"lib/assets/js/date-time/bootstrap-datetimepicker.js",
			"lib/assets/js/bootstrap-colorpicker.js",
			"lib/assets/js/jquery.knob.js", "lib/assets/js/jquery.autosize.js",
			"lib/assets/js/jquery.inputlimiter.1.3.1.js",
			"lib/assets/js/jquery.maskedinput.js",
			"lib/assets/js/bootstrap-tag.js", null ]
	
	$('.page-content-area').ace_ajax('loadScripts',scripts,function() {
			jQuery(function($) {
				var active_class = 'active';
				
	            $('#menu-management-table').on('click', 'td input[type=checkbox]', function () {
	                var $row = $(this).closest('tr');
	                if (this.checked) $row.addClass(active_class);
	                else $row.removeClass(active_class);
	            })
	            
				//to translate the daterange picker, please copy the "examples/daterange-fr.js" contents here before initialization
				$('input[name=dateRange]').daterangepicker({
					'applyClass' : 'btn-sm btn-success',
					'cancelClass' : 'btn-sm btn-default',
					locale : {
						applyLabel : '选择',
						cancelLabel : '取消'
					}
				}).prev().on(ace.click_event, function() {
					$(this).next().focus();
				});
			});
	})
</script>

<script type="text/javascript" src="js/dr.manage.js"></script>